package spm.entities;

/**
 * This is a persistent class used by Hibernate. The class represents a possible
 * type of the role.
 * 
 * @author Evgeny Ryzhkov
 * 
 * $Id: RoleType.java 11 2006-12-04 15:04:58Z evgeny.ryzhkov $
 */
public class RoleType {

	/**
	 * The unique ID of the role type.
	 */
	private Long id;

	/**
	 * The key in the resource file for the role type name.
	 */
	private String typeNameKey;

	/**
	 * Constructor without parameters. It is required by Hibernate.
	 */
	public RoleType() {
	}

	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id
	 *            The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return Returns the typeName.
	 */
	public String getTypeNameKey() {
		return typeNameKey;
	}

	/**
	 * @param typeName
	 *            The typeName to set.
	 */
	public void setTypeNameKey(String typeNameKey) {
		this.typeNameKey = typeNameKey;
	}
}
